<?php use_stylesheets_for_form($form) ?>
<?php use_javascripts_for_form($form) ?>

<form action="<?php echo url_for('documentos/'.($form->getObject()->isNew() ? 'create' : 'update').(!$form->getObject()->isNew() ? '?beca_id='.$form->getObject()->getBecaId().'&usuario_id='.$form->getObject()->getUsuarioId().'&tipo_documento_id='.$form->getObject()->getTipoDocumentoId() : '')) ?>" method="post" <?php $form->isMultipart() and print 'enctype="multipart/form-data" ' ?>>
<?php if (!$form->getObject()->isNew()): ?>
<input type="hidden" name="sf_method" value="put" />
<?php endif; ?>     
<table>
    <thead>
    <tr>
        <th colspan="2">Los documentos que debe adjuntar deben estar en formato pdf</th>
    </tr>
    </thead>
    <tbody>
      <tr>
        <td><?php echo $form ?></td>              
        <td colspan="2">          
          <input type="submit" value="Adjuntar" />
        </td>
      </tr>
      </tbody>
      </table>
</form>
